<?php

namespace mi7soft\core;

use Exception;

class MainException extends Exception
{
    public function myerrorMessage()
    {

        //error message
        $errorMsg =  '[Exception] ' . $this->getFile() . ' [line:' . $this->getLine() . '] ' . $this->getMessage();
        return $errorMsg;
    }
}